<template>
  <div id="myfooter">
    <div class="bottom_nav">
      <router-link class="nav_index" :to="'/'"><i></i>首页</router-link>
      <router-link class="nav_search" :to="'/'"><i></i>机器列表</router-link>  
      <router-link class="nav_shopcart" :to="'/'"><i></i>修改密码</router-link>
      <router-link class="nav_me" :to="''" @click.native="logout()"><i></i>安全退出</router-link>
    </div>
  </div>
</template>

<script>
export default {
  name: 'myfooter',
  data () {
    return {

    }
  },
  mounted: function() { 

  }, 
  methods: {
    logout : function () {
      this.$cookies.remove('userinfo');
      this.$router.push({ path: '/Login' });
    }
  }     
}
</script>
